package com.my.roco.dao;

import com.my.roco.pojo.Love;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface LoveMapper {
    void insertLove(Love love);
    void deleteLove(@Param("userAccount") String userAccount, @Param("petNumber") String petNumber);
    
    boolean existsLove(@Param("userAccount") String userAccount, @Param("petNumber") String petNumber);
    
    List<Love> getLovesByUserAccount(@Param("userAccount") String userAccount);
}